//
//  MGUserInfoModel.h
//  MortgageHelper
//
//  Created by zhangxiang on 16/8/8.
//  Copyright © 2016年 zhangxiang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MGBaseRspModel.h"

#import "MGEnumFile.h"

@interface MGUserInfoModel : MGBaseRspModel

@property (assign ,nonatomic) BOOL LoginStatus;       

@property (nonatomic, copy) NSString *token;
@property (nonatomic, copy) NSString *userName;
@property (nonatomic, copy) NSString *nickName;
@property (nonatomic, assign) int age;
@property (nonatomic, assign) int workStauts;
@property (nonatomic, assign) int sociaSecurity;
@property (nonatomic, assign) int haveHouse;
@property (nonatomic, assign) int accumulationFund;
@property (nonatomic, assign) int haveCar;
@property (nonatomic, assign) int headImg;

@property (nonatomic, copy) NSString *userId;               // 用户唯一标识，永不变
@property (copy, nonatomic) NSString *password;          // 密码

@property (copy, nonatomic) NSString *name;               // 用户名
@property (copy, nonatomic) NSString *typeName;           // 用户身份
@property (assign, nonatomic) NSInteger type;             // 用户类型
@property (assign, nonatomic) NSInteger postCount;

@property (nonatomic, copy) NSString *phone;              // 用户手机号
@property (copy, nonatomic) NSString *cityId;           //城市id
@property (copy, nonatomic) NSString *cityName;         //城市名
@property (copy, nonatomic) NSString *headUrl;          //头像
@property (copy, nonatomic) NSString *identityNO;       //身份证号码

@property (nonatomic, assign) MGAuthenticationStatus identityStatus;      // 身份认证状态
@property (nonatomic, assign) MGAuthenticationStatus cardStatus;          // 公司认证状态
@property (copy, nonatomic) NSString *company;             //公司名称


@property (nonatomic, copy) NSString *imei;               //设备标识
@property (nonatomic, copy) NSString *appVersion;         //APP版本号
@property (nonatomic, copy) NSString *channel;            //渠道标识
@property (nonatomic, copy) NSString *lang;               //语言标示
@property (nonatomic, copy) NSString *sign;               //签名
@property (nonatomic, copy) NSString *os;   //注册渠道


@property (nonatomic, copy) NSString *nickname;     // 用户昵称

//名片图片
@property (nonatomic, copy) NSString *cardImages;
//名片审核失败原因 新
@property (nonatomic , copy)  NSString*failureReason;
//用户类型 0普通 1 后台
@property (assign, nonatomic) NSInteger sysType;
@end


